<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">

    <ui:composition template="/template.xhtml">
        <ui:define name="title">
            <h:outputText value="#{bundle.CreateProductPercentageQuantityEntityTitle}"></h:outputText>
        </ui:define>
        <ui:define name="body">
            <h:panelGroup id="messagePanel" layout="block">
                <h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
            </h:panelGroup>
            <h:form>
                <h:panelGrid columns="2">
                    <h:outputLabel value="#{bundle.CreateProductPercentageQuantityEntityLabel_mpsMonthly}" for="mpsMonthly" />
                    <h:selectOneMenu id="mpsMonthly" value="#{productPercentageQuantityEntityController.selected.mpsMonthly}" title="#{bundle.CreateProductPercentageQuantityEntityTitle_mpsMonthly}" >
                        <f:selectItems value="#{masterProductionScheduleMonthlyEntityController.itemsAvailableSelectOne}"/>
                    </h:selectOneMenu>
                    <h:outputLabel value="#{bundle.CreateProductPercentageQuantityEntityLabel_percentage}" for="percentage" />
                    <h:inputText id="percentage" value="#{productPercentageQuantityEntityController.selected.percentage}" title="#{bundle.CreateProductPercentageQuantityEntityTitle_percentage}" />
                    <h:outputLabel value="#{bundle.CreateProductPercentageQuantityEntityLabel_product}" for="product" />
                    <h:selectOneMenu id="product" value="#{productPercentageQuantityEntityController.selected.product}" title="#{bundle.CreateProductPercentageQuantityEntityTitle_product}" >
                        <f:selectItems value="#{completedGoodsEntityController.itemsAvailableSelectOne}"/>
                    </h:selectOneMenu>
                    <h:outputLabel value="#{bundle.CreateProductPercentageQuantityEntityLabel_quantity}" for="quantity" />
                    <h:inputText id="quantity" value="#{productPercentageQuantityEntityController.selected.quantity}" title="#{bundle.CreateProductPercentageQuantityEntityTitle_quantity}" />
                    <h:outputLabel value="#{bundle.CreateProductPercentageQuantityEntityLabel_salesForecast}" for="salesForecast" />
                    <h:selectOneMenu id="salesForecast" value="#{productPercentageQuantityEntityController.selected.salesForecast}" title="#{bundle.CreateProductPercentageQuantityEntityTitle_salesForecast}" >
                        <f:selectItems value="#{salesForecastEntityController.itemsAvailableSelectOne}"/>
                    </h:selectOneMenu>
                    <h:outputLabel value="#{bundle.CreateProductPercentageQuantityEntityLabel_mpsDaily}" for="mpsDaily" />
                    <h:selectOneMenu id="mpsDaily" value="#{productPercentageQuantityEntityController.selected.mpsDaily}" title="#{bundle.CreateProductPercentageQuantityEntityTitle_mpsDaily}" >
                        <f:selectItems value="#{masterProductionScheduleDailyEntityController.itemsAvailableSelectOne}"/>
                    </h:selectOneMenu>
                    <h:outputLabel value="#{bundle.CreateProductPercentageQuantityEntityLabel_mpsWeekly1}" for="mpsWeekly1" />
                    <h:selectOneMenu id="mpsWeekly1" value="#{productPercentageQuantityEntityController.selected.mpsWeekly1}" title="#{bundle.CreateProductPercentageQuantityEntityTitle_mpsWeekly1}" >
                        <f:selectItems value="#{masterProductionScheduleWeeklyEntityController.itemsAvailableSelectOne}"/>
                    </h:selectOneMenu>
                    <h:outputLabel value="#{bundle.CreateProductPercentageQuantityEntityLabel_mpsWeekly2}" for="mpsWeekly2" />
                    <h:selectOneMenu id="mpsWeekly2" value="#{productPercentageQuantityEntityController.selected.mpsWeekly2}" title="#{bundle.CreateProductPercentageQuantityEntityTitle_mpsWeekly2}" >
                        <f:selectItems value="#{masterProductionScheduleWeeklyEntityController.itemsAvailableSelectOne}"/>
                    </h:selectOneMenu>
                    <h:outputLabel value="#{bundle.CreateProductPercentageQuantityEntityLabel_id}" for="id" />
                    <h:inputText id="id" value="#{productPercentageQuantityEntityController.selected.id}" title="#{bundle.CreateProductPercentageQuantityEntityTitle_id}" />
                    <h:outputLabel value="#{bundle.CreateProductPercentageQuantityEntityLabel_createdAt}" for="createdAt" />
                    <h:inputText id="createdAt" value="#{productPercentageQuantityEntityController.selected.createdAt}" title="#{bundle.CreateProductPercentageQuantityEntityTitle_createdAt}" >
                        <f:convertDateTime pattern="MM/dd/yyyy" />
                    </h:inputText>
                    <h:outputLabel value="#{bundle.CreateProductPercentageQuantityEntityLabel_createdBy}" for="createdBy" />
                    <h:inputText id="createdBy" value="#{productPercentageQuantityEntityController.selected.createdBy}" title="#{bundle.CreateProductPercentageQuantityEntityTitle_createdBy}" />
                    <h:outputLabel value="#{bundle.CreateProductPercentageQuantityEntityLabel_lastModifiedAt}" for="lastModifiedAt" />
                    <h:inputText id="lastModifiedAt" value="#{productPercentageQuantityEntityController.selected.lastModifiedAt}" title="#{bundle.CreateProductPercentageQuantityEntityTitle_lastModifiedAt}" >
                        <f:convertDateTime pattern="MM/dd/yyyy" />
                    </h:inputText>
                    <h:outputLabel value="#{bundle.CreateProductPercentageQuantityEntityLabel_lastModifiedBy}" for="lastModifiedBy" />
                    <h:inputText id="lastModifiedBy" value="#{productPercentageQuantityEntityController.selected.lastModifiedBy}" title="#{bundle.CreateProductPercentageQuantityEntityTitle_lastModifiedBy}" />
                </h:panelGrid>
                <br />
                <h:commandLink action="#{productPercentageQuantityEntityController.create}" value="#{bundle.CreateProductPercentageQuantityEntitySaveLink}" />
                <br />
                <br />
                <h:commandLink action="#{productPercentageQuantityEntityController.prepareList}" value="#{bundle.CreateProductPercentageQuantityEntityShowAllLink}" immediate="true"/>
                <br />
                <br />
                <h:commandLink value="#{bundle.CreateProductPercentageQuantityEntityIndexLink}" action="/index" immediate="true" />
            </h:form>
        </ui:define>
    </ui:composition>

</html>
